<?xml version="1.0" encoding="UTF-8"?>
<!--
  Created by IntelliJ IDEA.
  User: Kirito
  Date: 26.11.12
  Time: 21:34
-->
<!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

<h:body>
    <p:panel id="viewPanel">
        <h:outputText value="View user: #{usersBean.selectedUser.login}"/>
        <h:panelGrid columns="2" id="panelData">
            <h:outputLabel for="ID" value="ID: *" />
            <h:outputText id="ID" value="#{usersBean.selectedUser.id}"/>

            <h:outputLabel for="firstname" value="Firstname: " />
            <h:outputText id="firstname" value="#{usersBean.selectedUser.firstName}"/>

            <h:outputLabel for="lastname" value="Lastname: " />
            <h:outputText id="lastname" value="#{usersBean.selectedUser.lastName}"/>

            <h:outputLabel for="login" value="Login: " />
            <h:outputText id="login" value="#{usersBean.selectedUser.login}"/>


            <h:outputLabel for="email" value="Email: " />
            <h:outputText id="email" value="#{usersBean.selectedUser.email}"/>
        </h:panelGrid>
    </p:panel>
</h:body>

</html>